ci: point publish at the reusable workflow's canonical repo - #1035
Merged
Conversation
Publishing has been silently broken since the org move. GitHub's REST API follows repository redirects, so btwld/dart-actions still resolves when you query it by hand, but the Actions reusable-workflow resolver does not: Invalid workflow file: .github/workflows/publish.yml#L16 error parsing called workflow ".github/workflows/publish.yml" -> "btwld/dart-actions/.github/workflows/publish.yml@main" : workflow was not found The whole workflow is rejected before any job is created, which is why a tag push produced a run with zero jobs, no logs, and no annotation surfaced through the API. Only the web UI showed the parse error. Point all six callers at conceptadev/dart-actions, the current canonical name. The btwld/* links in README.md and AGENTS.md are left alone: those are web URLs and GitHub redirects them correctly.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Publishing has been broken since the org move
Tagging
mix_generator-v2.2.0-beta.3produced a run with zero jobs, no logs, and no API-visible error. Only the web UI showed why:Why it was hard to see
btwld/dart-actionsstill resolves through the REST API —gh api repos/btwld/dart-actionsreturns the repo and itspublish.yml, because the API follows repository redirects. I verified the file existed and itsworkflow_callinputs still matched, and concluded the reusable workflow was fine.It isn't. The Actions reusable-workflow resolver does not follow repo redirects. The canonical name is now
conceptadev/dart-actions, anduses:must say so literally.Because the reference fails to resolve, the entire workflow is rejected before any job is created. That produces the confusing signature: run marked failed,
referenced_workflows: [], zero jobs, nothing to log, and the run'snamefalling back to the file path instead ofPublish to pub.dev.Fix
All six callers now point at
conceptadev/dart-actions. Confirmed the target exists under the canonical name and the caller YAML still parses with 6 jobs.Deliberately not changed
btwld/*links inREADME.md/AGENTS.md— those are web URLs and GitHub redirects them fine. Cosmetic, not worth the churn here.add_to_ai_initiatives_board.ymlreferencesorgs/btwld/projects/6. Thebtwldorg still exists, so I've left it rather than guess at the correct project.What this unblocks
mix 2.2.0-beta.5,mix_generator 2.2.0-beta.3, andmix_chart 0.0.1-beta.2are all version-bumped, changelogged, and passdart pub publish --dry-runwith 0 warnings. Nothing has been published yet. Once this merges, re-pushing the tags should publish for real.Separately, pub.dev's automated-publishing config was audited for all seven packages (
mix,mix_generator,mix_annotations,mix_chart,mix_lint,remix,naked_ui) — every repository field already correctly saysconceptadev/*, so nothing needed changing there.